package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallGoods;
import com.project.mall.bean.generator.CskaoyanmallGoodsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallGoodsMapper {
    long countByExample(CskaoyanmallGoodsExample example);

    int deleteByExample(CskaoyanmallGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallGoods record);

    int insertSelective(CskaoyanmallGoods record);

    List<CskaoyanmallGoods> selectByExample(CskaoyanmallGoodsExample example);

    CskaoyanmallGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallGoods record, @Param("example") CskaoyanmallGoodsExample example);

    int updateByExample(@Param("record") CskaoyanmallGoods record, @Param("example") CskaoyanmallGoodsExample example);

    int updateByPrimaryKeySelective(CskaoyanmallGoods record);

    int updateByPrimaryKey(CskaoyanmallGoods record);
}